from google.appengine.ext import ndb

class User(ndb.Model):
    _use_cache = False
    _use_memcache = False
    city = ndb.StringProperty()

try:
  kazo_sensei = User(id="kaz", city="TOK").put()
  raise Exception("failure")
  User(id="proppy", city="SF", parent=kazo_sensei).put()
except Exception as e:
  print e
print User.get_by_id("kaz")
